package org.kealinghornets.nxtdroid;

/**
 * Created by chuah on 11/14/14.
 */
public class RightHook extends MyNXTThread {
    public RightHook() {setNXTThreadName("RightHook");}

    public void run(){
        runMotor(PORT_A, -85);
        runMotor(PORT_B, 100);
        wait(370);
        runMotor(PORT_A, -95);
        runMotor(PORT_B, -95);
        wait(2200);
        runMotor(PORT_A, 100);
        runMotor(PORT_B, -100);
        wait(50);
        runMotor(PORT_A, -95);
        runMotor(PORT_B, -95);
        wait(8000);
        stopMotor(PORT_A);
        stopMotor(PORT_B);
        reset();
    }
}
